package com.qmx.launcher.bean;

import java.io.Serializable;

/**
 * @author chengxiangtong
 * @date 2018/12/24
 * version : 1.0
 * class describe：*
 */
public class CreateLive implements Serializable {


    /**
     * playUrl : {"rtmp":"rtmp://playtest.smartqmx.com/live/36158_a3ed5124715552b150e2c40ae36b233f","flv":"http://playtest.smartqmx.com/live/36158_a3ed5124715552b150e2c40ae36b233f.flv","m3u8":"http://playtest.smartqmx.com/live/36158_a3ed5124715552b150e2c40ae36b233f.m3u8"}
     * room_id : 900000003
     * take_id : 278
     */

    private PlayUrl playUrl;
    private int room_id;
    private String take_id;

    public PlayUrl getPlayUrl() {
        return playUrl;
    }

    public void setPlayUrl(PlayUrl playUrl) {
        this.playUrl = playUrl;
    }

    public int getRoom_id() {
        return room_id;
    }

    public void setRoom_id(int room_id) {
        this.room_id = room_id;
    }

    public String getTake_id() {
        return take_id;
    }

    public void setTake_id(String take_id) {
        this.take_id = take_id;
    }

    public static class PlayUrl {
        /**
         * rtmp : rtmp://playtest.smartqmx.com/live/36158_a3ed5124715552b150e2c40ae36b233f
         * flv : http://playtest.smartqmx.com/live/36158_a3ed5124715552b150e2c40ae36b233f.flv
         * m3u8 : http://playtest.smartqmx.com/live/36158_a3ed5124715552b150e2c40ae36b233f.m3u8
         */

        private String rtmp;
        private String flv;
        private String m3u8;

        public String getRtmp() {
            return rtmp;
        }

        public void setRtmp(String rtmp) {
            this.rtmp = rtmp;
        }

        public String getFlv() {
            return flv;
        }

        public void setFlv(String flv) {
            this.flv = flv;
        }

        public String getM3u8() {
            return m3u8;
        }

        public void setM3u8(String m3u8) {
            this.m3u8 = m3u8;
        }
    }
}
